package com.intlke.example.app.enums;

/**
 * <p>描述:</p>
 * <p>Key是String类型的常量</p>
 *
 * @author fengwenping
 * @version 1.0.0
 * @since 2024/11/10 22:21
 */
public class Code implements IEnumProvider<String> {
    private final String code;
    private final String message;

    public Code(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
